//
//  LVBaseSectionHeaderFooterView.h
//  ListViewModel
//
//  Created by 曹连华 on 2022/7/15.
//

#import <UIKit/UIKit.h>

@class LVBaseSectionHeaderFooterModel;

NS_ASSUME_NONNULL_BEGIN

@interface LVBaseSectionHeaderFooterView : UITableViewHeaderFooterView

/// HeaderFooterView 所在的 section
@property (nonatomic, assign, readonly) NSInteger section;

///初始化是会调 initUI 子类可以重新
- (void)initUI;

///在 viewForFooterInSection 中会调用此方法 子类可重写
- (void)updateWithHeaderFooterModel:(LVBaseSectionHeaderFooterModel *)headerFooterModel
                          atSection:(NSInteger)section;

///功能:获取SectionHeaderFooter的唯一标识符
+ (NSString *)reuseIdentifier;

@end

NS_ASSUME_NONNULL_END
